package com.uvnos4j.matilda.schedule.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.uvnos4j.matilda.schedule.domain.ScheduleTask;

import java.util.List;

/**
 * 任务调度 Mapper
 * <p>
 * Description:任务调度 Mapper
 * </p>
 *
 * @author Guo.wl
 * @version v1.0.0
 * @see com.uvnos4j.matilda.schedule.mapper
 * @since 2020-08-31 22:43:26
 */
public interface ScheduleTaskMapper extends BaseMapper<ScheduleTask> {

    /**
     * 查询应用启动时，需要启动的所有定时任务
     *
     * @return 需要启动的所有定时任务集合
     */
    List<ScheduleTask> getAllNeedStartTask();

}